import os

def search(target, p):
	fl = [x for x in os.listdir(p) if os.path.isfile(x)]
	for f in fl:
		if f == target:
			print(os.path.join(p, target))
			
	dirlist = [x for x in os.listdir(p) if os.path.isdir(os.path.join(p, x))]		
	for f in dirlist:
		search(target, os.path.join(p, f))
	return
	
target = "target.txt"
d = os.getcwd()
search(target, d)